package wdt_qf.dao;

import org.apache.ibatis.annotations.Mapper;
import wdt_qf.entity.qf.NeedPdgoodsStockBean;
import wdt_qf.entity.qf.StockBean;
import wdt_qf.entity.qf.pro.Zwj_UpdateCheckTable;
import wdt_qf.entity.qf.query.Gp_BillBatchOrderQuery;
import wdt_qf.entity.qf.result.PtypeInfoRes;
import wdt_qf.entity.qf.result.QfPosGoodsStockQtyRes;

import java.util.List;

@Mapper
public interface StocksDao {

    List<QfPosGoodsStockQtyRes> Gp_BillBatchOrder(Gp_BillBatchOrderQuery query);

    PtypeInfoRes getPtypeByUserCode(String userCode);

    QfPosGoodsStockQtyRes getRetailBackGoodsStocks_SALE(int prec, String jobnumber);

    QfPosGoodsStockQtyRes getRetailBackGoodsStocks_STOCK(int prec, String jobnumber);

    StockBean getStockInfoByUserCode(String userCode);

    String getUniqueBillid();

    void zdpd(Zwj_UpdateCheckTable zwjUpdateCheckTable);

    NeedPdgoodsStockBean getNeedPdGoodsStock(String userCode);
}
